package com.yanqu.road.entity.activity.tongbing.config;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

@FieldTypeAnnotation(tableName = "t_s_activity_tongbing_city")
public class TongBingCityConfig {

    @FieldTypeAnnotation(desc = "活动ID", select = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "城池ID")
    private int id;
    @FieldTypeAnnotation(desc = "城池类型名称")
    private String name;
    @FieldTypeAnnotation(desc = "地图类型")
    private int mapType;
    @FieldTypeAnnotation(desc = "城池类型")
    private int type;
    @FieldTypeAnnotation(desc = "初始阵营")
    private int initialCamp;
    @FieldTypeAnnotation(desc = "城池显示类型")
    private int showType;
    @FieldTypeAnnotation(desc = "特殊阵营加成")
    private String specialAddition;

    // 缓存
    private Map<Integer, Integer> specialAdditionMap = new ConcurrentHashMap<>(); // Map<阵营ID，前分比>

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getMapType() {
        return mapType;
    }

    public void setMapType(int mapType) {
        this.mapType = mapType;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getInitialCamp() {
        return initialCamp;
    }

    public void setInitialCamp(int initialCamp) {
        this.initialCamp = initialCamp;
    }

    public int getShowType() {
        return showType;
    }

    public void setShowType(int showType) {
        this.showType = showType;
    }

    public String getSpecialAddition() {
        return specialAddition;
    }

    public void setSpecialAddition(String specialAddition) {
        this.specialAddition = specialAddition;
    }

    public Map<Integer, Integer> getSpecialAdditionMap() {
        return specialAdditionMap;
    }

    public void setSpecialAdditionMap(Map<Integer, Integer> specialAdditionMap) {
        this.specialAdditionMap = specialAdditionMap;
    }
}
